I am writing a script that will need to be run from a Project folder. I've looked through the manual, but I don't see anything like an isProject function that would tell me if the folder I'm in is a project. Is there some way to determine if the user is currently within a Project folder as opposed to a regular folder?
Chris Christopher Cote - Mon Apr 08 12:48:40 EDT 2019 |
Re: Determine if folder is a Project folder Folder fCurr = current string NameFold = nullName(fCurr) Project pFold = project(NameFold) print NameFold "\tIs a project: " (!null pFold) "\n"
-Louie |
Re: Determine if folder is a Project folder Also if you are accessing your Projects by hierarchy items then note that Item has type and one of those is "Project" |
Re: Determine if folder is a Project folder Thanks guys. This is a big help. |